<?php
/**
 * Created by PhpStorm.
 * User: admin
 * Date: 2018/4/9
 * Time: 13:39
 */

namespace app\index\controller;


use think\Controller;

class Recruitment extends GetSlides
{
    public function recruitment()
    {
        $this->get_slider();//返回banner
        $cates = [
            ['id' => '58a13a28-7b06-410c-aed4-285062f5b1a5', 'page_limit' => 4], //工作动态
            ['id' => '5bcfa1cd-c1cc-4e79-b07a-5f5fbf38421a', 'page_limit' => 5], //招聘信息
            ['id' => '9748d0fd-c042-4f65-a58e-a02220d701b4', 'page_limit' => 3], //人才引进
            ['id' => '671fbf81-87c9-46d7-8965-0d1c2a6f4d3a', 'page_limit' => 5], //人才服务与发展
            ['id' => '894f7925-ce52-4c36-9004-50df1df8f0fe', 'page_limit' => 5], //规章制度及办事流程
        ];

        $A = new Api();
        $data = [];
        card_info_special_page($A, $cates, $data);
        $GLOBALS['dar1'] = 'rczp';
        $this->assign($data);
        $this->assign("web_title", "人才招聘");
        return view();
    }

}
